﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using PJ.Business;
using Microsoft.Practices.Composite.Events;
using PJ.Business.SalePurchase.Sale;
using PJ.Business.Inventory;

namespace PJ.Presentation.SalePurchase.Sale
{
    public class CustomerShoppingCartItemModel : ShoppingCartItemModel, ICustomerShoppingCartItemModel
    {
        public CustomerShoppingCartItemModel()
        {
        }
        public CustomerShoppingCartItemModel(string globalId, ICustomerShoppingCartItemService service)
            : base(globalId, service)
        {
        }
        public CustomerShoppingCartItemModel(IBusinessObject obj, ICustomerShoppingCartItemService service)
            : base(obj, service)
        {
        }
        [Microsoft.Practices.Unity.InjectionConstructor]
        public CustomerShoppingCartItemModel(ICustomerShoppingCartItemView view, IEventAggregator aggregator, ICustomerShoppingCartItemService service)
            : base(view, aggregator, service)
        {

        }

        protected override IInventoryItemOrderParamService InventoryItemOrderParamService
        {
            get { return Service.InventoryItemService.InventoryItemSalesParamService; }
        }
    }
}
